package com.xbongbong.pro.businessrule.pojo;

import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2020/3/9 10:32
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class UpdateResultPojo implements Serializable {
    private static final long serialVersionUID = 242878228477359199L;

    /**
     * 是否可以更新
     */
    private Boolean update;
    /**
     * 返回更新的值
     */
    private Object result;

    private JSONObject resultObject;

    public UpdateResultPojo() {
    }

    public UpdateResultPojo(Boolean update, Object result) {
        this.update = update;
        this.result = result;
    }


    public UpdateResultPojo(Boolean update, JSONObject resultObject) {
        this.update = update;
        this.resultObject = resultObject;
    }
}

